$(function(){
    html = '';
	$.post({url:"font/data.json",success:function(result){
        $('.case').attr("src",result.case);
        $('.right-content h4').text(result.contact);
        result.comment.forEach(res=>{
        $('.menu').prepend('<div><div class="thumb"><div class="row"><div class="col-lg-4 col-sm-4 col-12"><h4>'+res.name+'</h4><span class="date">'+res.date+'</span></div><div class="col-lg-4 col-sm-4 d-none d-sm-block"><span class="category">'+res.industry+'</span></div><div class="col-lg-4 col-sm-4 col-12"><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><span class="rating">'+res.score+'</span></div></div></div></div>')
    })
        $('.copyright-text p').text(result.bq);
        $('.phone a').text(result.phone);
        $('.email a').text(result.email);
        $('.location').text(result.location);
        $('.client-content p').text(result.introduce)

        console
        .log(result.comment)
    }});
  
 });